//package com.york.jobmew.gateway.config;
//
//import com.alibaba.cloud.nacos.NacosConfigProperties;
//import com.alibaba.cloud.nacos.NacosConfigManager;
//import org.springframework.context.annotation.Bean;
//import org.springframework.context.annotation.Configuration;
//import com.alibaba.nacos.api.config.ConfigService;
//
//@Configuration
//public class NacosConfig {
//
//    @Bean
//    public ConfigService configService(NacosConfigProperties nacosConfigProperties) throws Exception {
//        return new NacosConfigManager(nacosConfigProperties).getConfigService();
//    }
//}